package girl;

public class Girl {
    public String name;
    private double weight;
    private double height;

    public double getWeight() {
        return weight;
    }

    public void setWeight(double weight) {
        this.weight = weight;
    }

    public double getHeight() {
        return height;
    }

    public void setHeight(double height) {
        this.height = height;
    }
    public void calBmi(double weight, double height) {
        double res;
        res=weight/(height*height);
        System.out.println(res);
    }
}
